package com.itczx.smarttourism.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itczx.smarttourism.entity.R;
import com.itczx.smarttourism.entity.po.Route;


import java.util.List;


public interface RouteService extends IService<Route> {

    R<Route> saveRoute(Route route);

    List<Route> getAllRoutesByUserId(Long userid);

    Route endingRoute(Long routeId,Double funding);

    List<Route> getActiveRoutes(Long userid);

    List<Route> getFinishedRoutes(Long userid);
}
